import { wechatLoginController } from '@/controller/miniProgram/WechatController';
export const wechatLogin = [
  /**
   * 微信登录
   */
  {
    method: 'post',
    route: '/wechat/login',
    controller: wechatLoginController,
    action: 'LoginForWechat',
  },
  // 判断用户是否存在
  {
    method:'post',
    route: '/wechat/find_user',
    controller: wechatLoginController,
    action: 'findOneUser',
  },
  // token生成，测试用
  {
    method: 'post',
    route: '/wechat/gen_token',
    controller: wechatLoginController,
    action: 'generateToken',
  }
];
